package com.hiof;

import android.app.Application;
import android.content.Context;
import com.hiof.utility.Utility;
import org.acra.ACRA;
import org.acra.ReportingInteractionMode;
import org.acra.annotation.ReportsCrashes;

/**
 * Created with IntelliJ IDEA.
 * User: manish
 * Date: 6/8/12
 * Time: 4:58 PM
 * To change this template use File | Settings | File Templates.
 */
@ReportsCrashes(formKey = "dGowSy0yXzVGRHpIcFowaDZLbHBiVmc6MQ")
public class MoraApp extends Application {
    private static Context context;
    @Override
    public void onCreate() {
        // The following line triggers the initialization of ACRA
//        ACRA.init(this);
        super.onCreate();
        MoraApp.context = getApplicationContext();
    }
    public static Context getAppContext() {
        return MoraApp.context;
    }
}
